Can't reach value in async function with setInterval - JavaScript